-- GENERATED SPELL FOR [Shadowsworn Enforcer] --


function spell0_6007(pUnit, Event) --@Cleave,n/a--
pUnit:FullCastSpellOnTarget(15496,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_6007', 684, 1)
end

function Sorts_6007(pUnit, Event)
local choix_sorts_6007 = math.random(0, 0)
if choix_sorts_6007 == 0 then
pUnit:RegisterEvent('spell0_6007', 1, 1)
end
end

function mob6007_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_6007', math.random(1500, 3000), 1)
end

function mob6007_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6007_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6007_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(6007, 1, 'mob6007_Action')
RegisterUnitEvent(6007, 2, 'mob6007_Leave')
RegisterUnitEvent(6007, 3, 'mob6007_Kill')
RegisterUnitEvent(6007, 4, 'mob6007_Die')
